home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 3 / Info_Mac_1994-01.iso / Development / Source / Menu Fixer 1.0 Source / Menu fixer ƒ / Fix code ƒ / fix generic open.c < prev    next >
Encoding:
C/C++ Source or Header  |  1993-11-14  |  1.1 KB  |  37 lines  |  [TEXT/KAHL]

  1. /**********************************************************************\
  2.  
  3. File:        fix generic open.c
  4.  
  5. Purpose:    This module handles opening a document given through
  6.             apple events.
  7.  
  8.  
  9. Menu Fixer -=- synchronize menu IDs and menu resource IDs
  10. Copyright (C) 1993 Mark Pilgrim
  11.  
  12. This program is free software; you can redistribute it and/or modify
  13. it under the terms of the GNU General Public License as published by
  14. the Free Software Foundation; either version 2 of the License, or
  15. (at your option) any later version.
  16.  
  17. This program is distributed in the hope that it will be useful,
  18. but WITHOUT ANY WARRANTY; without even the implied warranty of
  19. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  20. GNU General Public License for more details.
  21.  
  22. You should have received a copy of the GNU General Public License
  23. along with this program in a file named "GNU General Public License".
  24. If not, write to the Free Software Foundation, 675 Mass Ave,
  25. Cambridge, MA 02139, USA.
  26.  
  27. \**********************************************************************/
  28.  
  29. #include "fix generic open.h"
  30. #include "fix.h"
  31.  
  32. void GenericOpen(FSSpec *myFSS)
  33. {
  34.     editFile=*myFSS;
  35.     OpenTheFile();
  36. }
  37.